package com.chixing.day07_abstract;

public class ToStringDemo {

    public static void main(String[] args) {
//        Company company =  new Company(101,"中国华为","民营企业","苏州桑田岛",1894839433L);
//        System.out.println(company); //"com.chixing.day07_abstract.Company" 类全限定名（类全名）
//                                    //"com.chixing.day07_abstract.Company@1b6d3586" 类全限定名（类全名）
//        System.out.println(company.toString());  //重写 Object.toString()
    }
}
